Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pass TERM signal to underlying process and improve shutdown #844

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lcse66
Copy link

@lcse66 lcse66 commented Nov 25, 2023

The lorawan-server script doesn't forward TERM signal to underlying process.

Normally the underlying process must be started from the starting script with "exec", but only if it is a binary executable (which "erl" is not; from tests carried out it works, but two "zombie" processes remain active). In this modification, a trap forwards the term signal.

In solution to #843

The lorawan-server script doesn't forward TERM signal to underlying process. 

Normally the underlying process must be started from the starting script with "exec", but only if it is a binary executable (which "erl" is not; from tests carried out it works, but two "zombie" processes remain active). In this modification, a trap is activated that forwards the term signal.

In solution to gotthardp#843 issue
@marcniedersachsen
Copy link

I am using the latest LoRaWAN server in a docker container. How can I install this patch to prevent the mqtt broker "badarg" issue after restarting ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants